package com.secsbrain.cmdb.dal.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 应用系统表
 *
 */
@TableName(value = "cmdb_app_system")
public class AppSystem implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 租户编号 */
	@TableField(value = "tenant_code")
	private String tenantCode;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 更新时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 创建人 */
	private String creator;

	/** 更新人 */
	private String updator;

	/** 系统名称 */
	private String name;

	/** 应用等级 */
	private String level;
	
	/** 应用特性：0-通用型，1-内存型，2-IO密集型，3-CPU密集型 */
	private Integer features;

	/** git地址 */
	@TableField(value = "git_url")
	private String gitUrl;

	/** 备注 */
	private String comment;

	/** 负责人ID */
	@TableField(value = "owner_id")
	private Long ownerId;
	
	/** 负责人名称 */
	@TableField(value = "owner_name")
	private String ownerName;
	
	/** 质量负责人ID */
	@TableField(value = "quality_id")
	private Long qualityId;
	
	/** 质量负责人名称 */
	@TableField(value = "quality_name")
	private String qualityName;

	/** 开发者ID，多个以,分隔 */
	@TableField(value = "develop_ids")
	private String developIds;
	
	/** 主机ID，多个以,分隔 */
	@TableField(value = "host_ids")
	private String hostIds;
	
	/** 开发者名称，多个以,分隔 */
	@TableField(value = "develop_names")
	private String developNames;
	
	/** k8s环境，多个以,分隔  */
	@TableField(value = "k8s_envs")
	private String k8sEnvs;

	/** 数据库端口，多个以,分隔 */
	private String ports;
	
	/** redis实例，多个以,分隔 */
	private String redis;

	/** 分类ID */
	@TableField(value = "type_id")
	private Long typeId;
	
	/** 系统类型 */
	@TableField(value = "system_type")
	private String systemType;
	
	@TableField(exist = false)
	private String typeName;
	
	@TableField(exist = false)
	private String hostNames;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUpdator() {
		return this.updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLevel() {
		return this.level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getGitUrl() {
		return this.gitUrl;
	}

	public void setGitUrl(String gitUrl) {
		this.gitUrl = gitUrl;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Long getOwnerId() {
		return this.ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}

	public String getDevelopIds() {
		return this.developIds;
	}

	public void setDevelopIds(String developIds) {
		this.developIds = developIds;
	}

	public String getPorts() {
		return this.ports;
	}

	public void setPorts(String ports) {
		this.ports = ports;
	}

	public Long getTypeId() {
		return this.typeId;
	}

	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getDevelopNames() {
		return developNames;
	}

	public void setDevelopNames(String developNames) {
		this.developNames = developNames;
	}

	public String getRedis() {
		return redis;
	}

	public void setRedis(String redis) {
		this.redis = redis;
	}

	public String getHostNames() {
		return hostNames;
	}

	public void setHostNames(String hostNames) {
		this.hostNames = hostNames;
	}

	public String getHostIds() {
		return hostIds;
	}

	public void setHostIds(String hostIds) {
		this.hostIds = hostIds;
	}

	public String getSystemType() {
		return systemType;
	}

	public void setSystemType(String systemType) {
		this.systemType = systemType;
	}

	public Long getQualityId() {
		return qualityId;
	}

	public void setQualityId(Long qualityId) {
		this.qualityId = qualityId;
	}

	public String getQualityName() {
		return qualityName;
	}

	public void setQualityName(String qualityName) {
		this.qualityName = qualityName;
	}

	public Integer getFeatures() {
		return features;
	}

	public void setFeatures(Integer features) {
		this.features = features;
	}

	public String getK8sEnvs() {
		return k8sEnvs;
	}

	public void setK8sEnvs(String k8sEnvs) {
		this.k8sEnvs = k8sEnvs;
	}

	public String getTenantCode() {
		return tenantCode;
	}

	public void setTenantCode(String tenantCode) {
		this.tenantCode = tenantCode;
	}
}
